package com.markus.code.图.图1;

import java.util.Comparator;

/**
 * Author:markusZhang
 * Date:Create in 2020/8/19 13:26
 * todo: 比较器
 */
public class MyComparator implements Comparator<Edge> {
    @Override
    public int compare(Edge o1, Edge o2) {
        return o1.weight - o2.weight;
    }
}
